You are here: Symbol Reference > Dew Namespace > Dew.Signal Namespace > Dew.Signal.Units Namespace > Classes > SignalUtils Class > SignalUtils Methods > FlatTop Method > SignalUtils.FlatTop Method ([In] TVec, TSignalWindowMode)
Dew Signal for .NET
ContentsIndexHome
PreviousUpNext
SignalUtils.FlatTop Method ([In] TVec, TSignalWindowMode)

Flat-top window.

Syntax
C#
Visual Basic
public static TVec FlatTop([In] TVec Src, TSignalWindowMode WindowMode);

Applies Flat top window to Src. Window functions are applied to the signal prior to conversion to frequency domain with the FFT algorithm, to reduce the spectral leakage. Their side-effect is a lower frequency resolution. Flat top window was used to get more accurate amplitude information when frequency interpolation routines where not yet common. 

w[i] = 0.2810639 - 0.5208972*cos(2*Pi*i/(n-1)) + 0.1980399*cos(4*Pi*i/(n-1))) 

0 < i < n-1

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!